/* Desenho padrao */
@charset "utf-8";
@import url('bootstrap.min.css');
@import url('font-awesome.min.css');
@import url('sonic-theme.css');
@import url('forms.css');
/*Limpa padroes*/
*, a{
    outline:none;
    border:none;
    padding: 0px;
}

/*Inclui as fontes padrao da aplicacao*/
@font-face {
    font-family: 'Open Sans';
    src: url("../fontes/OpenSans-Regular.eot?v=1.1.0");
    src: url("../fontes/OpenSans-Regular.eot?#iefix&v=1.1.0") format("embedded-opentype"), url("../fontes/OpenSans-Regular.woff?v=1.1.0") format("woff"), url("../fontes/OpenSans-Regular.ttf?v=1.1.0") format("truetype"), url("../fontes/OpenSans-Regular.svg?v=1.1.0#OpenSansBold") format("svg");
    font-weight: normal;
    font-style: normal;
}

/*Inicio da estilizacao da aplicacao*/
body {
    font-family: 'Open Sans', sans-serif;
    color: #555;
    font-size: 13px;
    overflow-x:hidden;
}
i {
    font-family: 'FontAwesome';
    font-style: normal;
}

a:hover{
    text-decoration: underline;
}
/*Classes globais*/
a.help-me{
    color:#438eb9;
}

a.help-me:hover{
    color: #002166;
    text-decoration: none;
}
/*Cabecalho da aplicacao*/
#header {
    display: block;
    background: #438eb9;
    height: 94px;
    left: 0px;
    margin: 0px;
    position: fixed;
    top: 0px;
    width: 100%;
    z-index:3;
}
#logo {
    position: absolute;
    left: 0px;
    display: block;
    float: left;
    height: 47px;
    overflow: hidden;
    width: 200px;
    margin-left: 0px;
    z-index: 4;
}
#logo{
    text-align: center;
}
#logo img {
    padding: 0px;
    width: 200px;
    height: 47px;
}
.top_center {
    float: left;
    display: none;
}
.top_right {
    position:absolute;
    top: 47px;
    right: 0px;
    width: auto;
    cursor: pointer;
}

/*Inicio da estilizacao de objetos de navegacao*/
.menu_control{
    display: none;
}
#menu_lateral {
    background-color: #F1F1F1;
    left: 0px;
    position: fixed;
    top: 0px;
    width: 200px;
    height: 100%;
    z-index:2;
    border-right: solid 1px #CCC;
}

#menu_lateral ul.m-top, .fancybox-inner ul {
    list-style: none;
    margin: 0px;
    margin-top: 104px;
    padding-bottom: 0px;
    padding-left: 0px;
    padding-right: 0px;
    padding-top: 0px;
    width: 100%;
}

@media only screen and (max-width: 719px) {
    #logo{
        margin-left: calc((100% - 200px) / 2);
    }
    #menu_lateral{
        width: 0px;
    }
    #menu_lateral ul.m-top{
        display: none;
    }
    .menu_control{
        position: fixed;
        display: block;
        z-index: 999;
        left: 15px;
        top: 5px;
        color: #FFF;
        font-size: 2em;
        cursor: pointer;
    }
}
#menu_lateral ul li, .fancybox-inner ul li {
    height: 50px;
    line-height: 50px;
}
#menu_lateral ul.m-top > li{
    border-bottom: solid 1px #CCC;
}
#menu_lateral ul li.m-ativo{
    height: auto;
}
#menu_lateral ul li.m-ativo > a{
    height: 50px;
}
#menu_lateral ul li a:before {
    font-family: 'FontAwesome';
    content: '\f015';
    display: inline-block;
    width: 20px;
    height: 20px;
    font-size: 20px;
    margin: 0px 10px;
    color: #999;
    text-align: center;
}

#menu_lateral ul li a.faqs:before{content: '\f059';}
#menu_lateral ul li a.academico:before{content: '\f19d';}
#menu_lateral ul li a.matricula:before{content: '\f0f6';}

#menu_lateral ul li a, .fancybox-inner ul li a {
    border-bottom: 1px solid #CCC;
    color: #222;
    display: block;
    height: 100%;
    text-decoration: none;
    transition: linear;
    transition-duration: 0.3s;
    width: 100%;
    cursor:pointer;
}
#menu_lateral ul li a span{
    display: none;
}
#menu_lateral > ul li:first-child a{
    border-top: 1px solid #CCC;
}
#menu_lateral ul li a:hover,  #menu_lateral ul li.aberto > a{
    background-color: #4f99c6;
    color:#FFF;
    transition: linear;
    transition-duration: 0.3s;
}

#menu_lateral ul li.m-ativo a {
    position:relative;
    background-color:#FFF;
    border-right: solid 3px #4f99c6;
    border-bottom: none;
    color: #222;
}
#menu_lateral ul li > a:hover:before, #menu_lateral ul li.aberto > a:before { color: #FFF;}
#menu_lateral ul li.m-ativo > a:before{color: #4f99c6;}
#menu_lateral ul li.m-ativo > a:after {
    display: block;
    content: "";
    position: absolute;
    right: 0;
    top: 10px;
    border: 8px solid transparent;
    border-width: 14px 10px;
    border-right-color: #4f99c6;
}
#menu_lateral ul li.c-sub:not(.m-ativo){
    position: relative;
}
#menu_lateral ul li.c-sub:not(.m-ativo) > a:after, #menu_lateral ul li.aberto > a:after {
    font-family: 'fontAwesome';
    display: block;
    color: #999;
    content: "\f054";
    position: absolute;
    right: 20px;
    top: 3px;
    transition: linear;
    transition-duration: 0.3s;
}
#menu_lateral ul li.c-sub:not(.m-ativo):hover > a:after{
    color:#FFF!important;
}
#menu_lateral ul li.aberto > a:after {
    transform: rotate(90deg);
    color:#FFF!important;
    transition: linear;
    transition-duration: 0.3s;
}

#menu_lateral ul li.c-sub.aberto:not(.m-ativo) {
    height: auto;
}

#menu_lateral li.c-sub .m-sub{
    display: none;
    transition: linear;
    transition-duration: 0.3s;
}
#menu_lateral li.c-sub.aberto .m-sub, #menu_lateral li.c-sub.m-ativo .m-sub{
    display: block;
}
#menu_lateral li.c-sub.aberto > a{
    border:none;
    height: auto;
}
#menu_lateral .m-sub{
    list-style: none;
    padding: 0px;
    background: #FFF;
}

#menu_lateral li:not(.m-ativo) .m-sub{
    background: #4f99c6;
}

#menu_lateral .m-sub li{
    clear: both;
}
#menu_lateral li:not(.m-ativo) .m-sub a, #menu_lateral li:not(.m-ativo) .m-sub a:hover{
    border: none;
    background: #4f99c6;
    color: #FFF;  
}
#menu_lateral .m-sub a:hover{
    text-decoration: underline;
}
#menu_lateral .m-sub li.sm-ativo a{
    color: #222;
    font-weight: bold;
}
#menu_lateral .m-sub a:before{
    content: '';
    border-right: dashed 1px #CCC;
    display: block;
    height: 100%;
    float: left;
    color: #4f99c6;
}
#menu_lateral .m-sub a:hover:before{
    color: #4f99c6;
}

#menu_lateral .m-ativo a:before, #menu_lateral .m-ativo a:before{
    color: #FFF;
}
#menu_lateral .m-sub li:first-child a:before{
    border-top: dashed 1px #CCC;
}
#menu_lateral .m-sub li:last-child a{
    border-bottom: 1px solid #CCC;
}

#menu_lateral ul.m-top li a span{
    display: inline-block;
}
#menu_lateral li.c-sub.aberto .m-sub{
    height: auto;
}
/*Fim da estilizacao de objetos de navegacao*/

/* Breadcrumbs */
.breadcrumb{
    position: absolute;
    top:94px;
    left: 50px;
    display: block;
    width: calc(100% - 50px);
    height: 40px;
    line-height: 40px;
    min-width: 300px;
    overflow: hidden;
}
.breadcrumb ul{
    background-color: transparent;
    display: inline-block;
    margin: 0 22px 0 12px;
    padding: 0;
    font-size: 13px;
    color: #333;
    border-radius: 0;
}
.breadcrumb ul>li {
    display: inline-block;
    text-shadow: 0 1px 0 #fff;
}

.breadcrumb .home-icon {
    margin-left: 4px;
    margin-right: 2px;
    font-size: 20px;
    position: relative;
    top: 2px;
}
/*Camada de conteudo da aplicacao*/
#conteudo {
    display: block;
    left: 3%;
    position: absolute;
    top: 134px;
    width: 94%;
    overflow:hidden;
    z-index:1;
}

#conteudo .c_header {
    margin: 0 0 12px;
    border-bottom: 1px dotted #e2e2e2;
}

#conteudo .tituloh1 {
    padding: 0;
    font-size: 2em;
    font-weight: bold;
    color: #666;
    margin-top: 0;
    text-indent: 6px;
}

/*Inicio da estilizacao de objetos de formularios */
.clear{
    clear: both;
    float: none;
}
/*Fim da estilizacao de objetos de formularios */

/*Inicio da grade de disciplinas e horarios */
#grade_status{
    border: solid 1px #CCC;
    text-align:right; 
    width: 95%;
    padding: 7px;
    border-radius: 5px;
}
#grade_status.al-left{
    text-align: left;
}
#grade_principal {
    height:auto;
}
#grade_principal li.dia{
    display:block;
    float:left;
    margin-right:4px;
    width:97%;
    min-width: 100px;
}
.grade, #grade_principal{
    display:block;
    width:100%;
    clear:right;
    list-style:none;
    padding:0px; 
    user-select:none;
}

#grade_ead1{
    width: 97%;
}

#grade_ead1 .dcp_selecionada{
    height: 80px;
}
.grade .dcp_selecionada .remove-dcp {
    position: absolute;
    width: 12px;
    height: 12px;
    top: 3px;
    right: 3px;
    background: #B31313;
    line-height: 10px;
    font-size: 0.6em;
    display: none;
    border-radius: 50%;
    z-index: 4;
    font-weight: bold;
}

.gr-ativa .grade .dcp_selecionada:hover .remove-dcp {
    display: block;
}
#grade_ead1 .dcp_selecionada .no-dcp{
    line-height: 40px;
    font-size: 1.3em;
}

#grade_ead1 .dcp_selecionada .professor{
    width: 50%;
    margin-left: 25%;
}
.grade li{
    float:left;
    display:block;
    padding:3px;
    border-radius:5px;
    width:calc(100% - 12px);
    margin: 2px;
}
.grade li.grade_header{
    min-height:30px;
    text-align:center;
    line-height:30px;
    background-color:#999;
    border:solid 1px #999;
    color:#FFF;	
    cursor:default;
    overflow: hidden;
}
.grade li.disciplina{
    min-height:54px;
    border:solid 1px #CCC;
    cursor:pointer;
    text-align:center;
    user-select:none;	
}
.grade li.disciplina span.i-plus{
    display:block;
    width: 40px;
    height: 40px;
    border-radius:30px;
    line-height:40px;
    font-size:40px;
    color: #999;
    font-family:arial, sans-serif;
    margin-top:5px;
    margin-bottom:5px;
    margin-left:calc(50% - 15px);
}
.grade li.disciplina span.i-plus .icon-ban-circle{
    color: #FF9090;
}
.grade li.disciplina span.periodo{
    display:none;
}
#grade_form.gr-inativa .grade li, #grade_form.crd-grade .grade li{
    cursor: default;
}
#grade_form:not(.gr-inativa) .grade li:not(.dcp_selecionada).disciplina:hover span{
    color: #6fb3e0;
}
.grade li.dcp_selecionada{
    background-color:#4f99c6;
    border:solid 1px #4f99c6;
    transition: linear;
    transition-duration: 0.3s;
    color:#FFF;
    position: relative;
}
#grade_form.gr-inativa .grade li.dcp_selecionada{
    cursor: default;
}
#grade_form:not(.gr-inativa):not(.crd-grade) .grade li.dcp_selecionada:hover{
    box-shadow: 2px 2px 4px #666;
    transition: linear;
    transition-duration: 0.3s;
}
/*Fim da grade de disciplinas e horarios */

/*Inicio da janela modal*/
.fancybox-inner ul {
    width: 100%;
    margin-top:0px;
}

.fancybox-inner .no-dcpi{
    font-size: 1.8em;
    margin-top: 0px;
    border-bottom: solid 1px #CCC;
    padding-bottom: 5px;
    color: #6FB3E0;
}
.fancybox-inner .warning {
    padding: 10px 2px;
    margin: 3px 0px;
    background: #FEFDED;
    border: solid 1px  #FFE700;
    text-align: center;
    border-radius: 5px;
    color: #333;
}

.fancybox-inner .warning i{
    font-size: 1.5em;
    color: #FFC200;
    text-shadow: 1px 1px 1px #000;
    margin-right: 5px;
}

.fancybox-inner .warning .dcp_r{
    font-weight: bold;
}
.fancybox-inner .details{
    width: 100%;
    margin-bottom: 8px;
}

.fancybox-inner .details tr{
    border-bottom: solid 1px #CCC;
}

.fancybox-inner .details td{
    font-size: 0.8em;
    padding: 8px;
}
#cont_modal {
    display: block;
    position: fixed;
    z-index: 99;
    color: #FFF;
    width: 500px;
    height: 300px;
    text-align: center;
    left: calc(50% - 250px);
    top: calc(50% - 150px);
}

#cont_modal select{
    color:#333;
}
#modal_sombra{
    position: fixed;
    width: 100%;
    height:100%;
    top:0px;
    left:0px;
    background:rgba(0, 0, 0, 0.8);
    z-index:98;
    display:none;
    overflow: auto;
}
.close_modal{
    position:fixed;
    top:calc(50% - 185px);
    left:calc(50% + 250px);
    display:block;
    background-color: #000;
    border: solid 2px #FFF;
    border-radius: 20px;
    padding: 0px;
    width: 15px;
    height:15px;
    line-height:12px;
    color: #FFF;
    text-align:center;
    text-decoration: none;
    font-family:Arial, sans-serif;
    font-size:13px;
    font-weight:bold;
    z-index:100;
    display:none;
}
.close_modal:hover{
    background-color:#F00;
    text-decoration: none;
}
.fancybox-inner ul li{
    margin-bottom: 4px;
}
.fancybox-inner ul li a{
    border-radius:5px;
    border:none;
    color:#222;
    line-height: 30px;
    background-color: #CCC;
    text-indent: 7px;
    overflow: hidden;
    transition: none;
}
.fancybox-inner span.no-dcp, .fancybox-inner span.professor {
    display: block;
    position: relative;
    top: 0px;
    height: 45%;
    line-height: 25px;
    width: calc(100% - 50px);
    float: left;
    text-indent: 15px;
}
.fancybox-inner span.no-dcp {
    font-size: 16px;
    text-shadow: 1px 1px 3px #f1f1f1;
}
.fancybox-inner span.periodo {
    font-family: arial, sans-serif;
    position: relative;
    top: -45%;
    display: block;
    float: left;
    height: 100%;
    width: 50px;
    text-align: center;
    line-height: 50px;
    background: #4f99c6;
    color: #FFF;
    font-weight: bold;
}
.grade li.disciplina span.professor{
    display: block;
    height: 12px;
    line-height: 12px;
    font-size: 12px;
    margin-top:0px;
    margin-left: 15px;
}
.grade li.disciplina span.professor{
    border: solid 1px #FFF;
    width: 90%;
    margin-left: 5%;
    margin-top: 5px;
    margin-bottom: 5px;
    border-radius: 4px;
    color: #62a8d1;
    background-color: #FFF;
    padding: 3px 0px;
    font-weight:bold;
    overflow:hidden;
    height: 20px;
    line-height: 20px;
}

#grade_form .botao{
    margin-bottom: 3px;
}

#form-msg textarea{
    width: 100%;
    height: 80%;
    min-height: 250px;
    max-width: 400px;
    border: solid 1px #CCC;
    text-indent: 5px;
    margin-bottom: 10px;
    padding-top: 5px;
}
.fancybox-inner ul li a:hover{
    background-color: #6fb3e0;
    color:#FFF;
    transition: none;
}

.fancybox-inner ul li a:hover span.no-dcp {
    text-shadow: 1px 1px #4f99c6;
}
/*Fim da janela modal*/


@media only screen and (min-width: 530px) {
    #header {        
        height: 47px;       
    }

    #logo {
        left: -20px;
        width: 220px;
    }

    .top_center {
        display: block;
        height:47px;
        padding-left: 6px;
        width: 60%;
        width: calc(100% - 406px);
        width: -moz-calc(100% - 406px);
        width: -webkit-calc(100% - 406px);
    }

    .top_right {
        top: 0px;
    }

    #menu_lateral .pesquisa{
        top: 50px;
    }

    #menu_lateral ul.m-top {
        margin-top: 47px
    }

    .breadcrumb{
        top:47px;
    }

    #conteudo {
        top: 90px;
    }
}

.back-to-top {
    position: fixed;
    width: 50px;
    height: 50px;
    bottom: 20px;
    right: 20px;
    opacity: 0.5;
    color: #333;
    font-size: 50px;
    z-index: 9997;
    display: none;
}

.back-to-top:hover {    
    text-decoration: none;
    color: #438eb9;
}

@media only screen and (min-width: 720px) {
    #grade_principal li.dia{
        width: calc(100%  / 6 - 10px);
    }
    #conteudo {
        left: 210px;
        width: 80%;
        width: calc(100% - 210px);
        width: -moz-calc(100% - 210px);
        width: -webkit-calc(100% - 210px);
    }
    .breadcrumb{
        left: 200px;
        width: calc(100% - 200px);
        width: -moz-calc(100% - 200px);
        width: -webkit-calc(100% - 200px);
    }
}